<?php
$form = new SpForm;
$form->useTemplate( realpath( dirname( __FILE__ ) . '/../templates/form.html' ) );
$form->submit( 'submit', null, 'submit these values', 'submit', array( 'onclick' => 'submit( );' ) );
echo $form->render( new SpView( ) );